<template>
  <div class="box">
    <h3 class="title">Child组件标题: {{m}}</h3>
  </div>
</template>

<script>
import {myMixin} from '@/mixins'
export default {
  name: 'Child',
  mixins: [myMixin],

  data () {
    return {
      n: 4
    }
  },

  mounted () {
    this.fn()
  },
  
  methods: {
    fn2 () {
      console.log('fn2')
    }
  }
}
</script>

<style scoped>

</style>
